package per.yd.tankWar.entity;

import java.util.ArrayList;
import java.util.List;

import per.yd.tankWar.entity.wall.Wall;
import per.yd.tankWar.utils.TankMapUtils;

public class TankMap {
	
	private static List<Wall> tankWalls = new ArrayList<>();
	
	public static TankMap getTankMap(int level) {
		
		return getTankMap(String.valueOf(level));
	}
	
	
	public static TankMap getTankMap(String level) {
		
		tankWalls.clear();
		tankWalls.addAll(TankMapUtils.readMap(level));
		return new TankMap();
	}
	
	
	public static List<Wall> getWalls(){
		return tankWalls;
	}
	
	
	
	
}
